package com.sctvcloud.dongqu.beans;

import com.ruihang.generalibrary.utils.IShares;
import com.ruihang.generalibrary.utils.UrlUtils;
import com.sctvcloud.dongqu.application.Constances;
import com.sctvcloud.dongqu.ui.datainf.IAdvanceData;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/8/14 0014.
 */

public class FCityNews extends FCityState implements IShares, Serializable {
    private String sharedUrl;
    private List<NewsItem> list;

    public String getSharedUrl() {
        return sharedUrl;
    }

    public FCityNews setSharedUrl(String sharedUrl) {
        this.sharedUrl = sharedUrl;
        return this;
    }

    public List<NewsItem> getList() {
        return list;
    }

    public FCityNews setList(List<NewsItem> list) {
        this.list = list;
        return this;
    }

    @Override
    public String toString() {
        return "FCityNews{" +
                "sharedUrl='" + sharedUrl + '\'' +
                ", list=" + list +
                '}';
    }

    @Override
    public String getShareTitle() {
        return null;
    }

    @Override
    public String getShareH5() {
        return null;
    }

    @Override
    public String getShareImage() {
        return null;
    }

    @Override
    public String getShareDigest() {
        return null;
    }

    @Override
    public String getShareURL() {
        return UrlUtils.linkUrls(Constances.ST_BASE_URL,sharedUrl);
    }
}
